package com.example.everying.model.entity;

import com.example.everying.constant.RatingRole;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.time.LocalDateTime;

/**
 * 活动评价实体类
 */
@Data
public class ActivityRating {
    private String id;
    @ApiModelProperty(value = "文章id")
    private String articleId;
    @ApiModelProperty(value = "评价人id")
    private String raterId;
    @ApiModelProperty(value = "被评价人id")
    private String ratedId;
    @ApiModelProperty(value = "评价角色")
    private int ratingRole;
    @ApiModelProperty(value = "评价分数")
    private int score;
    @ApiModelProperty(value = "评价内容")
    private String content;
    @ApiModelProperty(value = "图片")
    private String pictures;
    @ApiModelProperty(value = "创建时间")
    private LocalDateTime createTime;
    @ApiModelProperty(value = "更新时间")
    private LocalDateTime updateTime;
    @ApiModelProperty(value = "是否删除")
    private boolean isDeleted;
}